package com.hqyj.xxl.Dao;



import com.hqyj.xxl.pojo.Role;
import org.apache.ibatis.annotations.Param;

import java.util.Set;

public interface RoleDao {
    Set<Role> queryAllRole();
    int insertByRole(Role role);
    int updateByRole(Role role);
    int deleteByRole(Role role);
    int deleteByRoleId(int roleId);
    int deleteByRoleIds(@Param("roleIds") Set<Integer> roleIds);
}
